﻿using Microsoft.Xna.Framework;

namespace Phoenix.Xna.Framework.FrameworkExtensions
{
    public static class Vector2Extensions
    {
        public static Vector3 ToVector3(this Vector2 obj)
        {
            return new Vector3(obj.X, obj.Y, 0);
        }

        public static Point ToPoint(this Vector2 value)
        {
            return new Point((int)value.X, (int)value.Y);
        }
    }
}